package com.example.park.service;

import com.example.park.entity.UserEntity;

import java.util.List;

public interface UserService {

    UserEntity adminLogin(String username, String password);

    UserEntity weiXinLogin(Integer state, String openid);

    List<UserEntity> queryByDim(String param);

    List<UserEntity> queryByParam(UserEntity user);

    boolean insert(UserEntity user);

    boolean update(UserEntity user);

    boolean delete(Integer id);

    boolean adminDelete(Integer id);
}
